package com.cykj.page01;

/**
 * @BelongsProject: HandTomcat
 * @BelongsPackage: com.cykj.page01
 * @Author: 阿隆
 * @CreateTime: 2025-11-12 20:29
 * @Description: 线程第二种创建方式: 实现Runnable
 * @Version: 1.0
 */
public class MyRunnable implements Runnable{
    @Override
    public void run() {
        for (int i = 0; i < 100; i++) {
            System.out.println(Thread.currentThread().getName() + " " + i);
        }

    }
}